package day08;

import java.io.BufferedOutputStream;
import java.io.FileOutputStream;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;

public class Demo05 {

	public static void main(String[] args) throws Exception {
		String file="abc/pw.txt";		
		FileOutputStream fos=new FileOutputStream(file);
		BufferedOutputStream bos=new BufferedOutputStream(fos);
		OutputStreamWriter osw=new OutputStreamWriter(bos,"utf-8");
		PrintWriter out=new PrintWriter(osw,true);
		out.println("HelloWord");
		out.close();
		
		
		
		
		
	}

}
